package com.java.tutorials.jdk7.paths;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * Created by xuzhike on 2016/1/27.
 * http://www.java2s.com/Code/Java/JDK-7/Getrelativepath.htm
 */
public class Getrelativepath {
    public static void main(String[] args) {
        Path rootPath = Paths.get("/home/docs");
        Path resolvedPath = rootPath.resolve("backup/users.txt");

    }
}
